package cn.gson.work.model.vo;

public class UserQuery {
    private int curpage;
    private int pagesize;
    private long deptNo;
    private long userNo;
    private String userName;
    private String sex;
    private String userPhone;
    private long poNo;

    public UserQuery(long deptNo, long userNo, String userName, String sex, String userPhone, long poNo) {
        this.deptNo = deptNo;
        this.userNo = userNo;
        this.userName = userName;
        this.sex = sex;
        this.userPhone = userPhone;
        this.poNo = poNo;
    }

    public UserQuery() {
    }

    public int getCurpage() {
        return curpage;
    }

    public void setCurpage(int curpage) {
        this.curpage = curpage;
    }

    public int getPagesize() {
        return pagesize;
    }

    public void setPagesize(int pagesize) {
        this.pagesize = pagesize;
    }

    public long getDeptNo() {
        return deptNo;
    }

    public void setDeptNo(long deptNo) {
        this.deptNo = deptNo;
    }

    public long getUserNo() {
        return userNo;
    }

    public void setUserNo(long userNo) {
        this.userNo = userNo;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }

    public long getPoNo() {
        return poNo;
    }

    public void setPoNo(long poNo) {
        this.poNo = poNo;
    }

    @Override
    public String toString() {
        return "UserQuery{" +
                "curpage=" + curpage +
                ", pagesize=" + pagesize +
                ", deptNo=" + deptNo +
                ", userNo=" + userNo +
                ", userName='" + userName + '\'' +
                ", sex='" + sex + '\'' +
                ", userPhone='" + userPhone + '\'' +
                ", poNo=" + poNo +
                '}';
    }
}
